package com.ruoyi.production.mapper;

import com.ruoyi.production.domain.WorkReport;
import com.ruoyi.production.domain.WorkReportMember;
import com.ruoyi.yard.domain.CompWarehouseInfo;

import java.util.List;

/**
 * 今日产出Mapper接口
 *
 * @author ruoyi
 * @date 2022-09-05
 */
public interface WorkReportMemberMapper {
    /**
     * 查询今日产出
     *
     * @param id 今日产出主键
     * @return 今日产出
     */
    public WorkReportMember selectWorkReportMemberById(Long id);

    /**
     * 查询今日产出列表
     *
     * @param workReportMember 今日产出
     * @return 今日产出集合
     */
    public List<WorkReportMember> selectWorkReportMemberList(WorkReportMember workReportMember);

    /**
     * 新增今日产出
     *
     * @param workReportMember 今日产出
     * @return 结果
     */
    public int insertWorkReportMember(WorkReportMember workReportMember);

    /**
     * 修改今日产出
     *
     * @param workReportMember 今日产出
     * @return 结果
     */
    public int updateWorkReportMember(WorkReportMember workReportMember);

    /**
     * 删除今日产出
     *
     * @param id 今日产出主键
     * @return 结果
     */
    public int deleteWorkReportMemberById(Long id);

    /**
     * 批量删除今日产出
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWorkReportMemberByIds(Long[] ids);

    public WorkReport getWorkReport(String workReportNo);

    public CompWarehouseInfo getCompWarehouseInfo(String compomentNo);
}
